From: Florian Müllner Date: Tue, 5 Nov 2019 01:36:38 +0000 (+0100) Subject: altTab: Use correct actor in label height computation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~469 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e4147f3611d97369db5722e876982316af2d7b76;p=gnome-shell.git altTab: Use correct actor in label height computation Commit f2bd39b20 removed an intermediate bin, and now we use the thumbnail bin instead of the label actor to compute the label height, whoops. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/804 --- diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 1c4a23998..c2d3760a2 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -899,7 +899,7 @@ class ThumbnailList extends SwitcherPopup.SwitcherList { // St.Label doesn't support text-align x_align: Clutter.ActorAlign.CENTER, }); - this._labels.push(bin); + this._labels.push(name); box.add_actor(name); this.addItem(box, name);